import request,{post} from '@/utils/request';

export interface ListParams {
    statType: number;
    timeRange: number;
  }

  export interface TimeParams {
    timeRange: number;
    featureCode: string;
  }

  //研判统计表头数据
  export async function getQueryFeatureStat() {
    return post('/series/stat/queryFeatureStat');
  }

  //要素挖掘统计分析
  export async function getQueryFeatureChartStat(params:ListParams) {
    return post('/series/stat/queryFeatureChartStat',params);
  }

  //各串并要素挖掘情况
  export async function getQueryFeatureTime(params:TimeParams) {
    return post('/series/stat/queryFeatureTime',params);
  }

  //要素研判新发警情提示
  export async function getQueryFeatureLatest() {
    return post('/series/stat/queryFeatureLatest');
  }
  
  //研判专题
  export async function getQueryClassifyStat() {
    return post('/series/stat/queryClassifyStat');
  }